package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Employees;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EmployeesMapper extends BaseMapper<Employees> {

    List<Employees> pageList(@Param("offset") int offset,@Param("pageSize") int pagesize);


    int pageListCount(@Param("offset") int offset,@Param("pageSize") int pagesize);
}
